import * as React from "react";
import type {ReactNode} from "react";
import {memo} from "react";

interface IPreops{
    name:string,
    url:string,
    children?:ReactNode
}



const Download:React.FC<IPreops> =(props)=>{

    return(
        <div>
            name:{props.name}
            {props.children}
        </div>
    )
}
export default memo(Download)



// const Download =(props:IPreops)=>{
//
//     return(
//         <div>
//             name:{props.name}
//         </div>
//     )
// }
// export default Download
